package com.ecoolex.discount.sales.pojo;

import com.ecoolex.framework.common.annotation.Description;
import org.springframework.lang.NonNull;

import java.math.BigDecimal;

@Description({"编辑折扣充值信息"})
public class EditDiscountProductRechargeDTO {

    @Description({"账户输入描述"})
    private String accountInputDescribe;

    @Description({"账户输入提示"})
    private String accountInputPlaceholder;

    @Description({"价格币种"})
    private String currencyType;

    @Description({"价格类型;固定价格;可变价格"})
    @NonNull
    private Integer counterPriceType;

    @Description({"最大购买数量"})
    private Integer maxBuyNumber;

    @Description({"专柜价格"})
    private BigDecimal counterPrice;

    @Description({"零售价格"})
    private BigDecimal retailPrice;

    @Description({"最小面额"})
    private BigDecimal minCounterPrice;

    @Description({"最大面额"})
    private BigDecimal maxCounterPrice;

    @Description({"折扣百分比"})
    private BigDecimal counterPriceDiscountPercent;

    public String getAccountInputDescribe() {
        return accountInputDescribe;
    }

    public EditDiscountProductRechargeDTO setAccountInputDescribe(String accountInputDescribe) {
        this.accountInputDescribe = accountInputDescribe;
        return this;
    }

    public String getAccountInputPlaceholder() {
        return accountInputPlaceholder;
    }

    public EditDiscountProductRechargeDTO setAccountInputPlaceholder(String accountInputPlaceholder) {
        this.accountInputPlaceholder = accountInputPlaceholder;
        return this;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public EditDiscountProductRechargeDTO setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
        return this;
    }

    @NonNull
    public Integer getCounterPriceType() {
        return counterPriceType;
    }

    public EditDiscountProductRechargeDTO setCounterPriceType(@NonNull Integer counterPriceType) {
        this.counterPriceType = counterPriceType;
        return this;
    }

    public Integer getMaxBuyNumber() {
        return maxBuyNumber;
    }

    public EditDiscountProductRechargeDTO setMaxBuyNumber(Integer maxBuyNumber) {
        this.maxBuyNumber = maxBuyNumber;
        return this;
    }

    public BigDecimal getCounterPrice() {
        return counterPrice;
    }

    public EditDiscountProductRechargeDTO setCounterPrice(BigDecimal counterPrice) {
        this.counterPrice = counterPrice;
        return this;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public EditDiscountProductRechargeDTO setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
        return this;
    }

    public BigDecimal getMinCounterPrice() {
        return minCounterPrice;
    }

    public EditDiscountProductRechargeDTO setMinCounterPrice(BigDecimal minCounterPrice) {
        this.minCounterPrice = minCounterPrice;
        return this;
    }

    public BigDecimal getMaxCounterPrice() {
        return maxCounterPrice;
    }

    public EditDiscountProductRechargeDTO setMaxCounterPrice(BigDecimal maxCounterPrice) {
        this.maxCounterPrice = maxCounterPrice;
        return this;
    }

    public BigDecimal getCounterPriceDiscountPercent() {
        return counterPriceDiscountPercent;
    }

    public EditDiscountProductRechargeDTO setCounterPriceDiscountPercent(BigDecimal counterPriceDiscountPercent) {
        this.counterPriceDiscountPercent = counterPriceDiscountPercent;
        return this;
    }

    @Override
    public String toString() {
        return "EditDiscountProductRechargeDTO{" +
                "accountInputDescribe='" + accountInputDescribe + '\'' +
                ", accountInputPlaceholder='" + accountInputPlaceholder + '\'' +
                ", currencyType='" + currencyType + '\'' +
                ", counterPriceType=" + counterPriceType +
                ", maxBuyNumber=" + maxBuyNumber +
                ", counterPrice=" + counterPrice +
                ", retailPrice=" + retailPrice +
                ", minCounterPrice=" + minCounterPrice +
                ", maxCounterPrice=" + maxCounterPrice +
                ", counterPriceDiscountPercent=" + counterPriceDiscountPercent +
                '}';
    }
}
